Skip to content

Fall back to nearest quality instead of highest#2

Open
odium1963 wants to merge 1 commit intoFave42:masterfrom
odium1963:fix/quality-fallback
Open

Fall back to nearest quality instead of highest#2
odium1963 wants to merge 1 commit intoFave42:masterfrom
odium1963:fix/quality-fallback

Conversation

@odium1963
Copy link
Copy Markdown

Summary

  • When the requested quality is unavailable, pick the numerically closest option instead of always jumping to the highest

Why

Previously, requesting 480p on a source that only had 720p/1080p would silently download at 1080p. The new behaviour picks 720p instead, which better respects the user's intent.

Test plan

  • Set quality to 480p and download an episode that only has 720p and 1080p sources
  • Confirm it downloads at 720p instead of 1080p

🤖 Generated with Claude Code

…lable

Previously if the requested quality (e.g. 480p) was not in the source
list, the downloader would silently jump to the highest available
(1080p). Now it picks whichever quality is numerically closest to the
requested one, so 480p falls back to 720p rather than 1080p.

Co-Authored-By: odium1963 <odium71499@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant